
<!--
/**************************************************
* @ operatormanage.jsp
*
* Copyright   2005 Hitrust Technology Inc.
* Developed by SDC, Hitrust.
* All Rights Reserved.
*
* Modify History:
*  v1.00, 2006/03/08, Jenny Li
*  1) first release
/**************************************************
-->
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ include file="../../common.jsp" %>
<%@ taglib uri="/page.util.gs.hitrust.com/taglibs/page" prefix="page"%>

<html>
<head>
<title>操作员管理</title>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<!--<LINK href="<%=root%>/css/css.css" type=text/css rel=stylesheet>-->
<LINK href="<%=root%>/css/caigouxitong.css"" type=text/css rel=stylesheet>
<SCRIPT language="JavaScript" src="<%=root%>/js/common.js"></SCRIPT>
<%
	String tReQuery = (String)request.getAttribute("requery");
	HashMap tMap = (HashMap)request.getAttribute("OrgAndOper");
	
	ArrayList tList = new ArrayList();
	String [] tStr = null;
%>
<script>
	var counter;
	function process(param){
		 if(param == 'Q'){
			operatorviewform.action = "<%= response.encodeURL(request.getContextPath() + "/A400502.do") %>";
            document.all.querymode.value='Q';
            operatorviewform.submit();
    	
		}
		if(param=='QP'){
			if(operatorviewform.operOrgId.options.length == 1){
				if(operatorviewform.operOrgId.options[i].selected && operatorviewform.operOrgId.options[i].value =='00'){		
					return false;
				}
			}
			if(operatorviewform.operId.options.length == 1){
				if(operatorviewform.operId.options.selected && operatorviewform.operId.options.value =='00'){		
					return false;
				}
			}
			if(operatorviewform.operName.options.length == 1){
				if(operatorviewform.operName.options.selected && operatorviewform.operName.options.value =='00'){		
					return false;
				}
			}
			operatorviewform.action = "<%=response.encodeURL(root+"/A400502.do")%>";
			document.all.querymode.value='QP';
			operatorviewform.submit();					
		}
	}
	function add(){
       var result = null;	
		result = showModalDialog("<%= response.encodeURL(request.getContextPath() + "/A400504.do") %>", window,"status:no;unadorned:no;dialogWidth:900px;dialogHeight:600px;help:no;");
		if(result != null){
			operatoraddform.operId.value = result[0]; 
	       	operatoraddform.operName.value = result[1];
	       	operatoraddform.operPwd.value = result[2];
	       	operatoraddform.confirmPwd.value = result[3];
	       	operatoraddform.operPostion.value = result[4];
	       	operatoraddform.operSex.value = result[5];
	       	operatoraddform.contactTel.value = result[6];
	       	operatoraddform.email.value = result[7];
	       	operatoraddform.validity.value = result[8];        	        	        	        	
	       	operatoraddform.operOrg2.value = result[9]; 
			operatoraddform.action="<%= response.encodeURL(request.getContextPath() + "/A400507.do") %>";
			
			//查询条件
			operatoraddform.s_operOrgId.value = document.getElementById("operOrgId").value;
			operatoraddform.s_operId.value = document.getElementById("operId").value;			
			operatoraddform.s_operName.value = document.getElementById("operName").value;
			operatoraddform.s_keyWord.value = document.getElementById("keyWord").value;
						
			operatoraddform.submit();
		}
    return true;
}
	
	function del(param){
		if (confirm("是否删除此操作员信息？")) {
			pager.operId2.value=param;
			//pager.action='<%= response.encodeURL(request.getContextPath() + "/A400506.do") %>';
			//pager.submit();
			   
			delform.operId2.value=pager.operId2.value;
			delform.action='<%= response.encodeURL(request.getContextPath() + "/A400506.do") %>';
			
			//查询条件
			delform.s_operOrgId.value = document.getElementById("operOrgId").value;
			delform.s_operId.value = document.getElementById("operId").value;			
			delform.s_operName.value = document.getElementById("operName").value;
			delform.s_keyWord.value = document.getElementById("keyWord").value;
						
			delform.submit();
		}
	}
	
	function mod(param){
	   pager.operId2.value=param;
	   var id=null;
       id= pager.operId2.value;
       
        var result = null;	
		result = showModalDialog("<%= response.encodeURL(request.getContextPath() + "/A400505.do") %>?operId2="+id, window,"status:no;unadorned:no;dialogWidth:900px;dialogHeight:600px;help:no;");
		if(result != null){
	       	operatormodform.operName.value = result[0];
	       	operatormodform.operPostion.value = result[1];
	       	operatormodform.operSex.value = result[2];
	       	operatormodform.contactTel.value = result[3];
	       	operatormodform.email.value = result[4];
	       	operatormodform.validity.value = result[5];        	        	        	        	
	       	operatormodform.operOrg2.value = result[6];
	       	operatormodform.operId.value= result[7];
			operatormodform.action="<%= response.encodeURL(request.getContextPath() + "/A400508.do") %>";
			
			//查询条件
			operatormodform.s_operOrgId.value = document.getElementById("operOrgId").value;
			operatormodform.s_operId.value = document.getElementById("operId").value;			
			operatormodform.s_operName.value = document.getElementById("operName").value;
			operatormodform.s_keyWord.value = document.getElementById("keyWord").value;
			
			operatormodform.submit();
			
		}
	}
	function change(val){
		if(val == '00000'){
			var listbox = document.getElementById("operId");
			listbox.length = 0;
			var option = new Option();
			option.text = "---无---";
			option.value = "0000";			
			listbox.options[listbox.length] = option;
			
			var listbox2 = document.getElementById("operName");
			listbox2.length = 0;
			var option2 = new Option();
			option2.text = "---无---";
			option2.value = "0000";			
			listbox2.options[listbox2.length] = option2;			
			
		}else{
		    var counter="0";			//判断是val是否匹配HashMap中的key值
			<%
			if(tMap != null){
		 	   	Collection tCollection = tMap.keySet();
		        Iterator tIterator = tCollection.iterator();
	  		       while(tIterator.hasNext()){
	  		           String tKey = (String)tIterator.next();
	  		           tList = (ArrayList)tMap.get(tKey);
	  		%>
	  					if(val == '<%=tKey%>'){
	  						counter = "1";
							var listbox = document.getElementById("operId");
							listbox.length = 0;
							var option = new Option();
							option.text = "---全部---";
							option.value = "0000";			
							listbox.options[listbox.length] = option;	  

							var listbox2 = document.getElementById("operName");
							listbox2.length = 0;
							var option2 = new Option();
							option2.text = "---全部---";
							option2.value = "0000";			
							listbox2.options[listbox2.length] = option2;	  
							
							
			<%
							for(int n=0; n<tList.size();n++){
							    GSOperatorBean tOper = (GSOperatorBean)tList.get(n);
							    String id = tOper.getGs_oper_id();
							    String name = tOper.getGs_oper_name();
							    
			%>
							var temp1 = '<%=id%>';
							var temp2 = '<%=id%>';
							var option = new Option();
							option.value = temp1;
							option.text = temp2;
							listbox.options[listbox.length] = option;						
							
							option = new Option();
							option.value='<%=name%>';
							option.text='<%=name%>';
							listbox2.options[listbox2.length] = option;
			
			<%
							}
			%>					  			  											
	  					
	  					}
	  		<%
	  		       }
			}
			
			%>
	    	if(counter == "0"){
		          var listbox = document.getElementById("operId");
		          listbox.length = 0;
		          var option = new Option();
		          option.value = "00";
		          option.text = "---无---";
		          listbox.options[listbox.length] = option;  
				var listbox2 = document.getElementById("operName");
				listbox2.length = 0;
				var option2 = new Option();
				option2.text = "---无---";
				option2.value = "00";			
				listbox2.options[listbox2.length] = option2;	           
	    	}			
		}
	}
	function change2(val){
		if(val == '0000'){
			var listbox2 = document.getElementById("operName");
			for(m=0; m < listbox2.length;m++){
				if(listbox2.options[m].value=='0000'){
					listbox2.options[m].selected = true;
					break;
				}
			}
		}else{
			var listbox2 = document.getElementById("operName");
			for(m=0; m < listbox2.length;m++){
				if(listbox2.options[m].value == val){
					listbox2.options[m].selected = true;
					break;
				}
			}
			
		}
	}
	function init(parma){
		<%
		    if(tReQuery!=null && tReQuery.equals("true")){
		%>
		    if(operatorviewform.operOrgId.value =='00'){		
	           return false;
	             }
	           if(operatorviewform.operId.value =='00'){		
	           return false;
	             }
	           if(operatorviewform.operName.value =='00'){		
	           return false;
	             }
	        if(parma == 'Q'){    
				document.all.querymode.value='Q';	        	
			}else if(param == 'QP'){
				document.all.querymode.value='QP';	        	
			}
			operatorviewform.action = "<%= response.encodeURL(request.getContextPath() + "/A400502.do") %>";			
	        operatorviewform.submit();	
	                
	   	<%}%>		
	}
</script>
</head>
<%
	String querymode = (String)request.getAttribute("querymode");

	ArrayList tGSOperatorOrg = (ArrayList)request.getAttribute("Organization");
	ArrayList tGSOperatorsList = (ArrayList)request.getAttribute("OperatorsList");
	ResultProcess tGSOperator = (ResultProcess)request.getAttribute("Operator");
	GSOperatorBean tOperaterBean = (GSOperatorBean)session.getAttribute(GSBaseConstants.LOGIN);

%>
<script language="javascript">
	function cls()
	{
		document.getElementById("operOrgId").value = "00000";
		document.getElementById("operId").value = "0000";
		document.getElementById("operName").value = "0000";
		document.getElementById("keyWord").value = "";
	}
</script>
<body text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="init('<%=querymode%>')">
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td height="20"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="1">
        <tr height="20">
          <td height="20" width="1" class="mtxt_black">&nbsp;</td>
          <td height="30" width="758" class="mtxt_black">操作员管理</td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td class="bg_line" height="2"></td>
  </tr>
</table>
<form name="operatorviewform" method="get" >
<input type='hidden' name='querymode' value="<%=request.getAttribute("querymode")%>">

<!--修改记录时保存翻页信息-->
<%
if(tReQuery!=null && tReQuery.equals("true"))
{
	String s_pageNo = (String)request.getAttribute("s_pageNo");
	if (s_pageNo == null || s_pageNo.equalsIgnoreCase(""))
		s_pageNo = "1";
	
%>
	<input type='hidden' name='pageNo' value='<%=s_pageNo%>'>
<%
}
%>

<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
	<tr> 
		<td> 
			<table class=bg_table id=tableId	cellspacing=1 cellpadding=0 style="padding-left:5;padding-right:5" width=100% align=center border=0>
				<TR height=20>
					<TD class="bg_column" align=center>所属单位</TD>
					<TD left=right class="bg_row_odd">
						<select name="operOrgId" id="operOrgId" onChange="change(this.value)">				
								<option value="00000">------全部------</option>		
						<%
							String tOperOrgId = request.getParameter("operOrgId");
							if (tOperOrgId == null) tOperOrgId = (String)request.getAttribute("s_operOrgId");
		  	 				if (tOperOrgId == null) tOperOrgId = "";
		  	 
							if(tGSOperatorOrg != null && tGSOperatorOrg.size() > 0 ){
						%>
											
						<%								    
								for(int i=0; i<tGSOperatorOrg.size(); i++){
									GSOrganizationBean tGSOrganizationBean = (GSOrganizationBean)tGSOperatorOrg.get(i);
									if(tOperOrgId != null && tOperOrgId.equals(tGSOrganizationBean.getGs_org_id())){
						%>
										<option value="<%=tGSOrganizationBean.getGs_org_id()%>" selected>
										<%=tGSOrganizationBean.getGs_org_name()%></option>
						<%				    
									}else{
						%>
										<option value="<%=tGSOrganizationBean.getGs_org_id()%>"><%=tGSOrganizationBean.getGs_org_name()%></option>
						<%			
									}
								}
							}else{
						%>
								<option value="00" selected>------无------</option>
						<%
							}
						%>
						</select>
					</TD>				
					<TD class="bg_column" align=center>操作员帐号</TD>
					<TD align=left class="bg_row_odd">
					<select name="operId" id="operId" onChange="change2(this.value)">				
						<%
							String tOperId = (String)request.getAttribute("s_operId");
							if (tOperId == null) tOperId = request.getParameter("operId");
		  	 				if (tOperId == null) tOperId = "";
						
							if(tOperOrgId != null && !tOperOrgId.equals("00000")){
							    ArrayList tOperList  = (ArrayList)tMap.get(tOperOrgId);
							    if(tOperList != null &&tOperList.size() > 0){
						%>
								<option value="0000">------全部------</option>
						<%	        
							    for(int i=0; i<tOperList.size();i++){
							        GSOperatorBean tOper = (GSOperatorBean)tOperList.get(i);
							        if(tOperId != null && tOperId.equals(tOper.getGs_oper_id())){
						%>
										<option value="<%=tOper.getGs_oper_id()%>" selected><%=tOper.getGs_oper_id()%></option>
						<%	            
							        }else{
						%>
										<option value="<%=tOper.getGs_oper_id()%>"><%=tOper.getGs_oper_id()%></option>
						<%		            
							        }	        
							    }
							    }else{
						%>
							<option value="0000">------全部------</option>
						<%	        
							    }
							}else{
						%>
							<option value="0000">------全部------</option>
													
						<%	    
							}
						%>
					</select>
					</TD>								
				</TR>
				<TR height=20>
					<TD class="bg_column" align=center>操作员姓名</TD>
					<TD align=left class="bg_row_odd">
					<select name="operName" id="operName">
							
						<%
							String tOperName = (String)request.getAttribute("s_operName");
							if (tOperName == null) tOperName = request.getParameter("operName");
		  	 				if (tOperName == null) tOperName = "";								
							
							if(tOperOrgId != null && !tOperOrgId.equals("00000")){						
						    ArrayList tOperList  = (ArrayList)tMap.get(tOperOrgId);
						   	if(tOperList != null && tOperList.size() >0){
						%>
							<option value="0000">------全部------</option>						
						<%						   	    
						    for(int i=0; i<tOperList.size();i++){
						        GSOperatorBean tOper = (GSOperatorBean)tOperList.get(i);
						        if(tOperName != null && tOperName.equals(tOper.getGs_oper_name())){
						%>
									<option value="<%=tOper.getGs_oper_name()%>" selected><%=tOper.getGs_oper_name()%></option>
						<%	            
						        }else{
						%>
									<option value="<%=tOper.getGs_oper_name()%>"><%=tOper.getGs_oper_name()%></option>
						<%		            
						        }	        
						    }
						   	}else{
						%>
							<option value="0000">------全部------</option>						
						<%	   	    
						   	}
						}else{
						%>
						<option value="0000">------全部------</option>
						<%    
						}
						%>
					</select>
					</TD>
					<TD class="bg_column" align=center>关键字</TD>
					<TD align=left class="bg_row_odd">
						<%
						String tKeyWord = (String)request.getAttribute("s_keyWord");
						if (tKeyWord == null) tKeyWord = request.getParameter("keyWord");
	  	 				if (tKeyWord == null) tKeyWord = "";
						%>
						<input type="text" name="keyWord" value="<%=tKeyWord%>">&nbsp;&nbsp;(帐号/姓名/职务)
					</td>		
				</TR>
			</table>
		</td>
	</tr>
</table>
<%
if(tGSOperator != null){
        int totalRecords = 0;
        int defaultPageSize = 10;
        totalRecords = tGSOperator.getRecordsSize();
%>          
<page:pager total='<%=totalRecords%>' defaultPageSize='<%=defaultPageSize%>'>
<%tList = tGSOperator.getDisplayRecords(index.intValue(),pageSize.intValue());%>
</page:pager>

<%
} %>
</form>
    <p align="center">  
	<input type="button" class="kuang" onClick="process('Q')" value="查询">&nbsp;
	<%
		if(tOperaterBean != null && tOperaterBean.getGs_oper_id().equals("000000")){
	%>
		<input type="button" value='查询密码' class="kuang" width="58" height="24" onclick="process('QP')"/>&nbsp;
	<%
		}
	%>
	<input type="button" class="kuang" onClick="cls()" value="清空">		
    </p>
<%
System.out.println(querymode);
	if(tGSOperator != null && "Q".equals(querymode)){
%>
	<center>
    <table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
		<tr>
			<td>
            <form name='pager' method="post">
            <input type="hidden" name="operId2" value="">
            	<table class=bg_table id=tableId	cellspacing=1 cellpadding=2 width=100% align=center border=0>
                    <tbody> 
                    <tr class="bg_column" height=20> 
                        <td class=top align=middle> 
                        </td>
                        <td class=top align=middle> 
                        </td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">操作员帐号</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">操作员姓名</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">操作员职务</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">性别</div>
						</td>						
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">联系电话</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">电子邮件</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">所属单位</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">操作员有效性</div>
						</td>																																				
					</tr>
					<%
						if(tList != null && tList.size() > 0){
						for(int i=0; i<tList.size(); i++){
							tStr = (String[])tList.get(i);
							String tTempStr="";
							if(i%2==0){
								tTempStr="class=\"bg_row_odd\"";
							}else {
								tTempStr="class=\"bg_row_even\"";
							}
					%>
							<tr <%=tTempStr%> height=20>
		                         <td class=top align=middle> 
		                            <div align="center" class="box">
                                <%if(!tStr[0].equals("superadmin")) {%>
		                            <input type="button" value="修改" onClick="mod('<%=tStr[0]%>');" class="kuang">
		                        <%} %>   
		                            </div>
		                        </td>
		                        <td class=top align=middle> 
		                            <div align="center" class="box">
                                 <%if(!tStr[0].equals("superadmin")) {%>
		                            <input type="button" value="删除" onClick="del('<%=tStr[0]%>');" class="kuang">
		                         <%} %>
		                            </div>
		                        </td>								
		                        <td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[0]%>
									</div>
								</td>	
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[1]%>
									</div>
								</td>								
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[2]%>
									</div>
								</td>
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[7]%>
									</div>
								</td>								
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[3]%>
									</div>
								</td>								
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[4]%>
									</div>
								</td>								
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[5]%>
									</div>
								</td>															
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[6]%>
									</div>
								</td>																
							</tr> 
							
					<%	
							}
					%>
						  <tr class="bg_column" height=20>
						    <td width="960" height="16" colspan="10" align="right">
									<!--导航条-->
						    		<page:navigator type='text' queryForm="operatorviewform"/>
						    </td>
				    <%
						}else{
					%>
							<font color="red">没有符合条件的操作员</font>
					<%
						}
					%>
					</tbody>
				</table>
				</form>					  
			</td>
		</tr>	
	</table>
	<p>
		<table>
			<tr>
			<td class=top align=middle> 
				<div align="center" class="txt_content">
				<input type="button" class="kuang" value="增加" onclick="add()"/>
				</div>
			</td>
			</tr>
		</table>
	</p>		
<%		
	}
%>

<!--以下执行密码查询列表页面-->

<%
	
	if(tGSOperator != null && "QP".equals(querymode)){
%>
	<center>
    <table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
		<tr>
			<td>
            <form name='pager' method="post">
            <input type="hidden" name="operId2" value="">
            	<table class=bg_table id=tableId	cellspacing=1 cellpadding=2 width=100% align=center border=0>
                    <tbody> 
                    <tr class="bg_column" height=20> 
                        <td class=top align=middle> 
                        </td>

                        <td class=top align=middle> 
                        <div align="center" class="txt_content">操作员帐号</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">操作员姓名</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">操作员密码</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">所属单位</div>
						</td>
					</tr>
					<%
						if(tList != null && tList.size() > 0){
						for(int i=0; i<tList.size(); i++){
							tStr = (String[])tList.get(i);
							String tTempStr="";
							if(i%2==0){
								tTempStr="class=\"bg_row_odd\"";
							}else {
								tTempStr="class=\"bg_row_even\"";
							}
					%>
							<tr <%=tTempStr%> height=20>
		                         <td class=top align=middle> 
		                            <div align="center" class="box">
										<input type="button" value="修改" onclick="updatepwd('<%=i%>','<%=tStr[0]%>','<%=tStr[3]%>')" class="kuang">
		                            </div>
		                        </td>
		                        <td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[0]%>
									</div>
								</td>	
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[1]%>
									</div>
								</td>								
								<td class=top align=middle> 
									<div align="center" class="txt_content" id='pwd<%=i%>'>
									<%=tStr[3]%>
									</div>
								</td>
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[2]%>
									</div>
								</td>								
							</tr> 
							
					<%	
							}
					%>
						  <tr class="bg_column" height=20>
						    <td width="960" height="16" colspan="10" align="right">
									<!--导航条-->
						    		<page:navigator type='text' queryForm="operatorviewform"/>
						    </td>
				    <%
						}else{
					%>
							<font color="red">没有符合条件的操作员</font>
					<%
						}
					%>
					</tbody>
				</table>
				</form>				  
			</td>
		</tr>	
	</table>
	<p>
		<table>
			<tr>
			<td class=top align=middle> 
				<div align="center" class="txt_content">
				<input type="button" class="kuang" value="新增" onclick="add()"/>
				</div>
			</td>
			</tr>
		</table>
	</p>		
<%		
	}
	if(tGSOperator == null && tReQuery != null && tReQuery.equals("true")){
%>
	<font size="2">数据查询中......</font>
<%	    
	}
%>
	</center>	
<form action="" name="delform" method="post">	
	<input type=hidden name=operId2>
	
	<!--查询条件-->
	<input type="hidden" name="s_operOrgId" value = "">
	<input type="hidden" name="s_operId" value = "">
	<input type="hidden" name="s_operName" value = "">	
	<input type="hidden" name="s_keyWord" value = "">
	
	<!--修改记录时保存翻页信息-->
	<input type='hidden' name='s_pageNo' value=''>		
			
</form>
<form name="operatoraddform" method="post">
	<input type="hidden" name="operId" >
	<input type="hidden" name="operName" >
	<input type="hidden" name="operPwd" >
	<input type="hidden" name="confirmPwd" >
	<input type="hidden" name="operPostion" >
	<input type="hidden" name="operSex" >
	<input type="hidden" name="contactTel" >						
	<input type="hidden" name="email" >						
	<input type="hidden" name="validity" >								
	<input type="hidden" name="operOrg2" >						
	
	<!--查询条件-->
	<input type="hidden" name="s_operOrgId" value = "">
	<input type="hidden" name="s_operId" value = "">
	<input type="hidden" name="s_operName" value = "">
	<input type="hidden" name="s_keyWord" value = "">	
</form>
<form name="operatormodform" method="post">
	<input type="hidden" name="operId" >
	<input type="hidden" name="operName" >
	<input type="hidden" name="operPostion" >
	<input type="hidden" name="operSex" >
	<input type="hidden" name="contactTel" >						
	<input type="hidden" name="email" >						
	<input type="hidden" name="validity" >								
	<input type="hidden" name="operOrg2" >
	
	<!--查询条件-->
	<input type="hidden" name="s_operOrgId" value = "">
	<input type="hidden" name="s_operId" value = "">
	<input type="hidden" name="s_operName" value = "">
	<input type="hidden" name="s_keyWord" value = "">
	
	<!--修改记录时保存翻页信息-->
	<input type='hidden' name='s_pageNo' value=''>

	
</form>
</body>
<script language='javascript'>
	function updatepwd(index,tmpid,tmpvalue){

		document.getElementById("pwd"+index).innerHTML = "<input type='text' id=pwdinput"+index+" value='"+tmpvalue+"'><input type='button' value='再输一次' onclick=reinputpwd('pwdinput"+index+"','"+tmpid+"')>";
	
	}
	
	function reinputpwd(val1,val2){
	
		var newpwd = document.getElementById(val1).value;
		var url="<%= response.encodeURL(request.getContextPath() + "/A400510.do") %>?operid="+val2+"&pwd="+newpwd;
		window.open(url,null," edge: sunken ; center: Yes; help: No; resizable: Yes; status: No; width: 200px ; height: 100px ; scroll:yes");		
		
	}
</script>


</html>